<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet">
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>

<title>后台管理</title>
</head>
<body class="body_ifm">
<div class="infoboxp">
<div class="tabs_info">
    <ul>
	 <li class="curr"><a href="index.php?m=admin_trainset">培训设置</a></span> 
      <li><a href="index.php?m=admin_trainset&c=logo">头像设置</a></span> 
	 <li><a href="index.php?m=admin_trainset&c=set">{yun:}$config.integral_pricename{/yun}设置</a></li> 
    </ul>
  </div>
  <div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
    <div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
    <div class="admin_new_tip_list_cont">
      <div class="admin_new_tip_list">该页面展示了网站的培训设置信息，可对培训进行培训设置操作。</div>
    </div>
  </div>
  <div class="clear"></div>

<div id="subboxdiv" style="width:100%;height:100%;display:none;position:absolute;"></div>

 
<div class="main_tag mt10">
<div class="tag_box">
<div>
<form class="layui-form">
<table width="100%" class="table_form">
  <tr class="admin_table_trbg">
         <th width="220" bgcolor="#f0f6fb"><span class="admin_bold">参数说明</span></th>
          <td bgcolor="#f0f6fb"><span class="admin_bold">参数值</span></td>
    </tr>
 	<tr>
		<th width="220">开启培训会员审核：</th>
		<td>
        <!-- <div class="iradio_flat_height">
        <input type="radio" name="px_status" value="1" id="px_status_0" {yun:}if $config.px_status==1{/yun}checked{yun:}/if{/yun}>
       <span class="iradio_flat_left"> <label for="px_status_0">不审核</label>&nbsp;&nbsp;</span>
        <input type="radio" name="px_status" value="0" id="px_status_1" {yun:}if $config.px_status!=1{/yun}checked{yun:}/if{/yun}>
        <span class="iradio_flat_left"><label for="px_status_1">审核</label>&nbsp;&nbsp;</span>
        </div>-->
			<div class="layui-form-item">
                  <div class="layui-input-block">
                    <div class="layui-input-inline">
                      <input name="px_status" id="px_status_0" value="0" title="审核"
                        {yun:}if $config.px_status==0{/yun}
                         checked 
                        {yun:}/if{/yun}
                         type="radio"/>
						<input name="px_status" id="px_status_1" value="1" title="不审核"
                        {yun:}if $config.px_status!=0{/yun}
                         checked 
                        {yun:}/if{/yun}
                       type="radio"/>
                    </div>
                  </div>
             </div>
        </td>
	</tr>
    <tr class="admin_table_trbg">
		<th width="220">培训认证审核：</th>
		<td>
		<input type="checkbox" name="px_cert_status" id="px_cert_status" lay-skin="switch" lay-text="开启|关闭" {yun:}if $config.px_cert_status=="1"{/yun} checked {yun:}/if{/yun} />

       <!-- <div class="iradio_flat_height">
        <input type="radio" name="px_cert_status" value="1" id="px_cert_status_0" {yun:}if $config.px_cert_status==1{/yun}checked{yun:}/if{/yun}>
        <span class="iradio_flat_left"><label for="px_cert_status_0">开启</label>&nbsp;&nbsp;</span>
        <input type="radio" name="px_cert_status" value="0" id="px_cert_status_1" {yun:}if $config.px_cert_status!=1{/yun}checked{yun:}/if{/yun}>
       <span class="iradio_flat_left"> <label for="px_cert_status_1">关闭</label>&nbsp;&nbsp;</span>
        </div>-->
        </td>
	</tr>
	<tr>
	 <th style="border-bottom:none;">&nbsp;</th>
          <td align="left" style="border-bottom:none;"> 
        <input type="hidden" name="pytoken" id='pytoken' value="{yun:}$pytoken{/yun}">
        <input class="layui-btn layui-btn-normal" id="config" type="button" name="config" value="提交" />&nbsp;&nbsp;
        <input class="layui-btn layui-btn-normal" type="reset" value="重置" /></td>
	</tr>
</table>
</form>
</div>

</div>
</div>
<script type="text/javascript">
  layui.use(['layer', 'form'], function(){
    var layer = layui.layer
    ,form = layui.form
    ,$ = layui.$;
  });

$(function(){
	$("#config").click(function(){
		$.post("index.php?m=admin_trainset&c=config",{
			config : $("#config").val(),
			px_status : $("input[name=px_status]:checked").val(),
			//px_cert_status : $("input[name=px_cert_status]:checked").val(),
			px_cert_status : $("input[name=px_cert_status]").is(":checked") ? 1:0 ,
			pytoken : $("#pytoken").val()
		},function(data,textStatus){
			config_msg(data);
		});
	});
})
</script></div>
</body>
</html>